package com.springboot2.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.springboot2.domain.Book;
//这是实现类

//业务层 mp 集成 mapper
public interface IBookService extends IService<Book> {

    //    @Override  报错没事 没报错说明重名
    boolean saveCxyBook(Book book);
    boolean modifyCxyBook(Book book);
    boolean deleteCxyBook(Integer id);
    IPage<Book> getPage(int currentPage, int pageSize);
    IPage<Book> getPage(int currentPage, int pageSize, Book book);
}
